package sch.guo.crmsys.base.dto;


import com.fasterxml.jackson.annotation.JsonView;
import lombok.Data;

/**
 * @author ReMidDream
 * @date 2018-02-22 13:52
 **/
@Data
public class ResultDTO<T> {

    public interface fullResult {};

    @JsonView(fullResult.class)
    private String code;//返回的状态码
    @JsonView(fullResult.class)
    private String msg;//返回的消息
    @JsonView(fullResult.class)
    private int count;//返回数据
    @JsonView(fullResult.class)
    private T data;//返回对象


}
